#
#  Be sure to run `pod spec lint HLFoundation.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

  s.name         = "HLFoundation"
  s.version      = "0.0.20"
  s.summary      = " HLFoundation. is Tools for ios"
  s.description  = <<-DESC
                    这是一个测试的
                    程序  验证 子模板
                   DESC
  s.homepage     = "https://git.oschina.net/Holink521/HLFoundation"
  s.license      = { :type => "MIT" }
  s.author             = { "hulinhu" => "hulinhu@gomeholdings.com" }
  s.platform     = :ios
  s.ios.deployment_target = "9.0"
  s.source       = { :git => "https://git.oschina.net/Holink521/HLFoundation.git", :tag => "#{s.version}" }
  s.requires_arc = true
  s.frameworks = 'SystemConfiguration','CoreGraphics','CoreTelephony','Security','CoreLocation','JavaScriptCore'
  s.libraries  = 'iconv','sqlite3','stdc++','z'

  s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

  #  baseClas
  s.subspec 'Base' do |ba|
         ba.source_files = 'HLFoundation/Classes/BaseClass/**/*'
    end

  #  工具类
  s.subspec 'HLControl' do |hl|
           hl.source_files = 'HLFoundation/Classes/HLControl/**/*'
           hl.dependency 'AFNetworking', '~> 3.1.0'
    end

  #  subClas
  s.subspec 'HLSub' do |cs|
       cs.source_files = 'HLFoundation/Classes/HLSub/**/*'
   end

   #  ThirdParty
  #  s.subspec 'ThirdParty' do |th|
  #       th.source_files = 'HLFoundation/Classes/ThirdParty/**/*'
  #       th.vendored_libraries  = 'HLFoundation/Classes/ThirdParty/libWeChatSDK.a'

  #   end
end
